﻿@model _1._8._2015_SHero_Auth.Models.SHerosViewModel
@{
    ViewBag.Title = "Home Page";
}

<div class="jumbotron">
    <h1>Super Heros</h1>
</div>

<div class="row">
    <div class="col-md-12">
        <table class="table table-striped table-bordered">
            <tr>
                <th>Name</th>
                <th>Origin</th>
                <th>Super Power</th>
                <th>Power Source</th>
            </tr>
            @foreach(var sh in Model.SHeros)
            {
                <tr>
                    <td>@sh.Name</td>
                    <td>@sh.Origin</td>
                    <td>@sh.SuperPower</td>
                    <td>@sh.PowerSource</td>
                </tr>
            }

        </table>
    </div>
    
</div>

     